package com.hly.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hly.common.utils.PageUtils;
import com.hly.wms.entity.PurchaseEntity;
import com.hly.wms.vo.MergeVo;
import com.hly.wms.vo.PurchaseDoneVo;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author dudulu
 * @email 52039@Miku.com
 * @date 2021-03-31 15:49:06
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    boolean MergerOrder(MergeVo mergeVo);

    boolean updateByIdOfUser(Integer assigneeId, Integer id);

    void received(List<Long> ids);

    List<PurchaseEntity> getPurchases();

    void done(PurchaseDoneVo purchaseDoneVo);
}

